import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);

Vue.config.productionTip = false
uni.$showMsg = (title = "数据加载失败!", duration = 1500) => {
	uni.showToast({
		title,
		duration,
		icon: "none"
	})
}
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

App.mpType = 'app'



const app = new Vue({
	...App
})


import httpInterceptor from '@/common/http.interceptor.js'
// 这里需要写在最后，是为了等Vue创建对象完成，引入"app"对象(也即页面的"this"实例)
Vue.use(httpInterceptor, app)


app.$mount()
